package day05;

public class ForDemo {
    public static void main(String[] args) {
        //第一种
        for(int mun=1;mun<=9;mun++){
            if(mun%3!=0){
                System.out.println(mun+"*9="+mun*9);
            }
        }
        //第二种
        for(int mun=1;mun<=9;mun++){
            if(mun%3==0){
                continue;
            }
            System.out.println(mun+"*9="+mun*9);
        }

        int sum = 0;
        for(int a=1;a<=100;a++){
            sum+=a;
        }
        System.out.println("sum="+sum);

        int a = 1;
        do {
            sum += a;
            a++;
        } while (a <= 100);
        System.out.println("sum=" + sum);

        while (a <= 100) {
            sum+=a;
            a++;
        }
        System.out.println("sum=" + sum);

        for(int mun=1;mun<=9;mun++){
            if(mun==4){
                break;
            }
            System.out.println(mun+"*9="+mun*9);
        }

        for(int i=1;i<=9;i++){
            System.out.println("   ");
            for(int r=1;r<=9;r++){

            }
        }


    }
}
